package com.hjxy.pojo;


/**
 * @description:
 * @author: ty
 * @createDate: 2020/9/28
 * @version: 1.0
 */

public class Student {
private Integer userId;
private String userName;
private String sex;
private String birthYear;
private String grade;
private Integer collegeId;
private College college;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthYear() {
        return birthYear;
    }

    public void setBirthYear(String birthYear) {
        this.birthYear = birthYear;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public College getCollege() {
        return college;
    }

    public void setCollege(College college) {
        this.college = college;
    }

    @Override
    public String toString() {
        return "Student{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", sex='" + sex + '\'' +
                ", birthYear='" + birthYear + '\'' +
                ", grade='" + grade + '\'' +
                ", collegeId=" + collegeId +
                ", college=" + college +
                '}';
    }
}
